#pragma once
#include "GWnd.h"

class GButton : public GWnd
{
	enum BUTTONSTATE
	{
		MOUSEOVER,
		MOUSEMOVE,
		MOUSEDOWN
	};
public:
	GButton(void);
	~GButton(void);
	virtual void LoadResAttritute(map<tstring, tstring>& mapAtt);
	virtual void Draw();
	virtual void MouseMove(int x, int y,int wParam=0);
	virtual void MouseClick(int button, int state, int x, int y);
protected:
	BUTTONSTATE m_btnState;
	GLuint		m_btntexture[3];
	wstring		m_strContext;
};
